<?php
namespace App\Rpc\Client;

use SwoStar\Rpc\RpcClient;

class DemoClient extends RpcClient
{
    //goods服务中DemoService类
    protected $classType = \App\Rpc\Service\DemoService::class;

    //这里goods既是consul注册服务时的NAME
    protected $service = "goods";
}
